package com.aya.aop.cycle;

import com.aya.aop.asp.AopAnnotation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.aop.framework.AopInfrastructureBean;
import org.springframework.scheduling.annotation.Async;

public class IgnoreEgg  {
    private IgnoreChicken chicken;

    public IgnoreChicken getChicken() {
        return chicken;
    }

    public void setChicken(IgnoreChicken chicken) {
        this.chicken = chicken;
    }

    private static final Logger logger = LoggerFactory.getLogger(Egg.class);
    @Async
    public void saHi() {
        logger.info("egg say hi");
    }
}
